package MtG.publicClass.messages;

import MtG.publicClass.Message;
import MtG.publicClass.Player;

/**
 * Winner.java is a class for creating a message about winner.
 * @author Marek Sirp
 * @author Jaan Sepp
 *
 */
public class Winner extends Message{
	
	/**
	 * Determines if a de-serialized file is compatible with this class.
	 */
	private static final long serialVersionUID = 7740023026199686979L;

	/**
	 * Constructor.
	 * @param player, who is the winner.
	 */
	public Winner(Player player){
		setMessage("Game winner is " + player.getName());
	}


}
